Reading a Set of Disk Pages
نویسندگان
چکیده
The problem studied in this paper is as follows Consider a le stored in contiguous space on disk Given a list of pages to be retrieved from the le what is the fastest way of retrieving them It is assumed that adjacent pages on disk can be read with a single read request The straight forward solution is to read the desired pages one by one However if two or more pages are located close to each other it may be faster to read them with a single read request possibly even reading some intervening empty pages It is shown that nding an optimal read sched ule is equivalent to nding the shortest path in a certain graph A very simple approximate algorithm is then intro duced and experimentally shown to produce schedules that are close to optimal The expected cost of schedules produced by this algorithm is derived It is found that signi cant speed up can be achieved by the simple mech anism of using additional bu er space and issuing large reads whenever it is advantageous to do so
منابع مشابه
An Analysis of Schedules for Performing Multi-Page Requests
In this paper, we address the problem of eeciently reading a set of pages from a le which is kept on some cylinders of a magnetic disk. It is assumed that several pages can be read from disk in a single multi-page request without interruption by other requests. First, a simple algorithm is presented for computing a schedule how the required pages are read from disk. Then, the expected cost of t...
متن کاملAnalyzing new features of infected web content in detection of malicious web pages
Recent improvements in web standards and technologies enable the attackers to hide and obfuscate infectious codes with new methods and thus escaping the security filters. In this paper, we study the application of machine learning techniques in detecting malicious web pages. In order to detect malicious web pages, we propose and analyze a novel set of features including HTML, JavaScript (jQuery...
متن کاملAWOL: Adaptive Write Optimizations in Linux
Operating system memory managers fail to consider the population of read versus write pages in the buffer pool and the outstanding I/O requests when writing dirty pages to disk or network file systems. This leads to bursty I/O patterns, which stall processes reading data and reduce the efficiency of disk and file systems. We address these limitations by adaptively allocating memory between writ...
متن کاملAWOL: An Adaptive Write Optimizations Layer
Operating system memory managers fail to consider the population of read versus write pages in the buffer pool or outstanding I/O requests when writing dirty pages to disk or network file systems. This leads to bursty I/O patterns, which stall processes reading data and reduce the efficiency of storage. We address these limitations by adaptively allocating memory between write buffering and rea...
متن کاملReading A Year Later
Two sets of measurements evaluated performance on typographically inverted text that students had learned to read 13 to IS months earlier. In one set, speed of reading was compared for pages read for the first and second times. Reread pages were read more quickly, thereby revealing an exceptional degree of memory at the pattern-analyzing level. In the second set of measurements, the readers cla...
متن کامل